/**
 * @method table表格的标题
 */
export const columns = [
    {
        title: '资产编号',
        dataIndex: 'code',
        slotName: 'code',
        ellipsis: true,
    },
    {
        title: '资产名称',
        dataIndex: 'name',
        slotName: 'name',
        ellipsis: true,
    },
    {
        title: '已入表金额',
        dataIndex: 'manager',
        slotName: 'manager',
        ellipsis: true,
    },
    {
        title: '类别',
        dataIndex: 'status',
        slotName: 'status',
        ellipsis: true,
        width: 120,
    },
    {
        title: '使用寿命（年）',
        dataIndex: 'budget',
        slotName: 'budget',
        width: 180,
    },
    {
        title: '最近测试结果',
        dataIndex: 'actual',
        slotName: 'actual',
        width: 180,
    },
    {
        title: '操作',
        slotName: 'operator',
        width: 200,
        fixed: 'right',
    }
];

export const operatorData = [
    {  label: '查看详情',code: 'showDetail'},
    {  label: '删除',code: 'delete' },
]

export const showDetailTableData = [
    {
        title: '姓名',
        dataIndex: 'name'
    },
    {
        title: '工号',
        dataIndex: 'job_number'
    },
    {
        title: '所属部门',
        dataIndex: 'affiliation'
    },
    {
        title: '职位',
        dataIndex: 'office'
    },
    {
        title: '学历',
        dataIndex: 'qualifications'
    }
]
